home *** CD-ROM | disk | FTP | other *** search
/ Skunkware 5 / Skunkware 5.iso / man / cat.1 / rcsmerge.1 < prev    next >
Text File  |  1995-07-25  |  5KB  |  133 lines

  1.  
  2.  
  3.  
  4. RCSMERGE(1)                                           RCSMERGE(1)
  5.  
  6.  
  7. NNAAMMEE
  8.        rcsmerge - merge RCS revisions
  9.  
  10. SSYYNNOOPPSSIISS
  11.        rrccssmmeerrggee [_o_p_t_i_o_n_s] _f_i_l_e
  12.  
  13. DDEESSCCRRIIPPTTIIOONN
  14.        rrccssmmeerrggee incorporates the changes between two revisions of
  15.        an RCS file into the corresponding working file.
  16.  
  17.        Pathnames matching an RCS suffix  denote  RCS  files;  all
  18.        others   denote   working  files.   Names  are  paired  as
  19.        explained in ccii(1).
  20.  
  21.        At least one revision must be specified with  one  of  the
  22.        options  described  below,  usually --rr.  At most two revi-
  23.        sions may be specified.  If only one  revision  is  speci-
  24.        fied,  the latest revision on the default branch (normally
  25.        the highest branch on the trunk) is assumed for the second
  26.        revision.   Revisions may be specified numerically or sym-
  27.        bolically.
  28.  
  29.        rrccssmmeerrggee prints a  warning  if  there  are  overlaps,  and
  30.        delimits the overlapping regions as explained in mmeerrggee(1).
  31.        The command is useful for  incorporating  changes  into  a
  32.        checked-out revision.
  33.  
  34. OOPPTTIIOONNSS
  35.        --kk_s_u_b_s_t
  36.               Use  _s_u_b_s_t  style  keyword substitution.  See ccoo(1)
  37.               for details.  For example, --kkkk --rr11..11 --rr11..22  ignores
  38.               differences  in  keyword  values  when  merging the
  39.               changes from 11..11 to 11..22.
  40.  
  41.        --pp[_r_e_v]
  42.               Send the result to standard output instead of over-
  43.               writing the working file.
  44.  
  45.        --qq[_r_e_v]
  46.               Run quietly; do not print diagnostics.
  47.  
  48.        --rr[_r_e_v]
  49.               Merge  with respect to revision _r_e_v.  Here an empty
  50.               _r_e_v stands for the latest revision on  the  default
  51.               branch, normally the head.
  52.  
  53.        --VV_n    Emulate RCS version _n.  See ccoo(1) for details.
  54.  
  55.        --xx_s_u_f_f_i_x_e_s
  56.               Use  _s_u_f_f_i_x_e_s to characterize RCS files.  See ccii(1)
  57.               for details.
  58.  
  59. EEXXAAMMPPLLEESS
  60.        Suppose you have released revision  2.8  of  ff..cc.   Assume
  61.  
  62.  
  63.  
  64. GNU                         1991/08/19                          1
  65.  
  66.  
  67.  
  68.  
  69.  
  70. RCSMERGE(1)                                           RCSMERGE(1)
  71.  
  72.  
  73.        furthermore that after you complete an unreleased revision
  74.        3.4, you receive updates to release 2.8 from someone else.
  75.        To combine the updates to 2.8 and your changes between 2.8
  76.        and 3.4, put the updates to 2.8 into file f.c and execute
  77.  
  78.            rrccssmmeerrggee  --pp  --rr22..88  --rr33..44  ff..cc  >>ff..mmeerrggeedd..cc
  79.  
  80.        Then examine ff..mmeerrggeedd..cc.  Alternatively, if  you  want  to
  81.        save  the updates to 2.8 in the RCS file, check them in as
  82.        revision 2.8.1.1 and execute ccoo --jj:
  83.  
  84.            ccii  --rr22..88..11..11  ff..cc
  85.            ccoo  --rr33..44  --jj22..88::22..88..11..11  ff..cc
  86.  
  87.        As another  example,  the  following  command  undoes  the
  88.        changes  between  revision  2.4  and 2.8 in your currently
  89.        checked out revision in ff..cc.
  90.  
  91.            rrccssmmeerrggee  --rr22..88  --rr22..44  ff..cc
  92.  
  93.        Note the order of the arguments,  and  that  ff..cc  will  be
  94.        overwritten.
  95.  
  96. EENNVVIIRROONNMMEENNTT
  97.        RRCCSSIINNIITT
  98.               options  prepended  to the argument list, separated
  99.               by spaces.  See ccii(1) for details.
  100.  
  101. DDIIAAGGNNOOSSTTIICCSS
  102.        Exit status is 0 for no overlaps, 1 for some  overlaps,  2
  103.        for trouble.
  104.  
  105. IIDDEENNTTIIFFIICCAATTIIOONN
  106.        Author: Walter F. Tichy.
  107.        Revision Number: 5.3; Release Date: 1991/08/19.
  108.        Copyright (C) 1982, 1988, 1989 by Walter F. Tichy.
  109.        Copyright (C) 1990, 1991 by Paul Eggert.
  110.  
  111. SSEEEE AALLSSOO
  112.        ci(1),  co(1),  ident(1),  merge(1),  rcs(1),  rcsdiff(1),
  113.        rcsintro(1), rlog(1), rcsfile(5)
  114.        Walter  F.  Tichy,  RCS--A  System  for  Version  Control,
  115.        _S_o_f_t_w_a_r_e_-_-_P_r_a_c_t_i_c_e   _&   _E_x_p_e_r_i_e_n_c_e  1155,  7  (July  1985),
  116.        637-654.
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.  
  130. GNU                         1991/08/19                          2
  131.  
  132.  
  133.